﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace RapChieuPhim.Modules
{
    public partial class InfoAllAgent : UserControl
    {
        public InfoAllAgent()
        {
            InitializeComponent();
        }

        private void GetData()
        {
            gridControlMain.DataSource = BUS.NhanVienBUS.GetAll();
        }

        private void InfoAllAgent_Load(object sender, EventArgs e)
        {
            GetData();
        }

        private void BingdingData(DTO.NhanVienDTO nhanvien)
        {
            txtName.ResetText();
        }

        private void gridView1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
        {
            
        }

        private void gridView1_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e)
        {

        }
    }
}
